WPTravelEngine\Core\Models\Post\Booking C

Total Complexity 107
Dependencies 6
Dependents 14
Total lines 780
Lines of code 371
Logical lines of code 213
Comment lines 278
Methods 51
Properties 2

Methods 51

Method Rating Maintainability Complexity Lines of code
save_post_booking()
D
29
38 118
maybe_update_inventory()
S
52 7 23
get_order_trip()
S
61 4 12
get_payments()
S
62 2 12
get_cart_info()
S
68 2 7
save_travellers_information()
S
67 2 8
untrashing_booking()
S
65 2 9
trashing_booking()
S
64 2 10
update_due_amount()
S
69 2 6
update_paid_amount()
S
70 2 6
add_payment()
S
67 2 8
get_order_items()
S
75 2 4
get_billing_info()
S
68 2 7
get_paid_amount()
S
79 1 3
set_cart_info()
S
79 1 3
get_additional_fields()
S
80 1 3
get_traveler_info()
S
80 1 3
get_travelers()
S
75 1 4
get_emergency_contact()
S
75 1 4
set_billing_info()
S
80 1 3
set_order_items()
S
80 1 3
update_status()
S
73 1 5
get_billing_city()
S
75 1 4
get_trip_pax()
S
75 1 4
get_trip_datetime()
S
75 1 4
get_last_payment()
S
76 1 4
get_partial_cost()
S
75 1 4
get_trip_cost()
S
75 1 4
get_trip_title()
S
75 1 4
get_trip_id()
S
75 1 4
get_billing_country()
S
75 1 4
get_billing_address()
S
75 1 4
get_due_amount()
S
79 1 3
get_payment_status()
S
80 1 3
get_currency()
S
75 1 4
get_subtotal()
S
75 1 4
get_total()
S
75 1 4
get_cart_partial()
S
75 1 4
get_discounts()
S
75 1 4
get_tax_amount()
S
75 1 4
get_payment_detail()
S
80 1 3
get_payment_gateway()
S
80 1 3
get_billing_email()
S
75 1 4
get_payment_method()
S
80 1 3
get_trip_has_time()
S
75 1 4
get_billing_fname()
S
75 1 4
get_billing_lname()
S
75 1 4
get_trip_package_name()
S
75 1 4
get_trip_extras()
S
75 1 4
get_trip_pax_cost()
S
75 1 4
get_booking_status()
S
79 1 3